(function() {
	// 配置
	var envir = 'online';
	var href = window.document.location.href;
	if ((new RegExp("127.0.0.1:8080")).test(href)) {
		envir = 'test';
	}
	var configMap = {
		test : {
			ajaxUploadUrl : 'http://127.0.0.1:8080/FMG',
		}
	};
	window.CONFIG = configMap[envir];
}())